//
//  ServiceDetailModelHelper.swift
//  GreenDeal
//
//  Created by Moennig Q on 2023/4/19.
//

import UIKit
import RxRelay
import RxSwift

class ServiceDetailModelHelper: NSObject {
    //MARK: - 单例
    static let shared = ServiceDetailModelHelper()
    
    var serviceDetailModel = ServiceDetailModel()
    //正在操作的checklist id，主要用于image 类型的
    var checklistModel = PVDChecklistModel()
    //var
    var checklists: PublishSubject<[PVDChecklistModel]> = PublishSubject()
    var images: PublishSubject<[ServiceDetailImageModel]> = PublishSubject()
    var offers: PublishSubject<[ServiceDetailOfferModel]> = PublishSubject()
    var historyList: PublishSubject<[ServiceDetailHistoryModel]> = PublishSubject()
}
